package com.hxzy.pojo;

import org.springframework.stereotype.Component;

@Component
public class Department {
    private Integer deptid;

    private String deptname;

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname == null ? null : deptname.trim();
    }

    @Override
    public String toString()
    {
        return "Department{" + "deptid=" + deptid + ", deptname='" + deptname + '\'' + '}';
    }
}